<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改服务商划拨、撤销机具申请信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-pos-edit" th:object="${agentApplyPos}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">提交申请服务商编号：</label>
                <div class="col-sm-8">
                    <input name="agentNum" th:field="*{agentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">提交申请服务商名称：</label>
                <div class="col-sm-8">
                    <input name="agentName" th:field="*{agentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标服务商编号：</label>
                <div class="col-sm-8">
                    <input name="xagentNum" th:field="*{xagentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">目标服务商名称：</label>
                <div class="col-sm-8">
                    <input name="xagentName" th:field="*{xagentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">申请数量：</label>
                <div class="col-sm-8">
                    <input name="applyNum" th:field="*{applyNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">欠款：</label>
                <div class="col-sm-8">
                    <input name="qmoney" th:field="*{qmoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">上级申请类型 0 划拨 1 撤机：</label>
                <div class="col-sm-8">
                    <select name="applyType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">下级处理结果 0 接受 1 拒绝  2待处理：</label>
                <div class="col-sm-8">
                    <input name="result" th:field="*{result}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">上级申请日期：</label>
                <div class="col-sm-8">
                    <input name="applyDate" th:field="*{applyDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">上级申请时间：</label>
                <div class="col-sm-8">
                    <input name="applyTime" th:field="*{applyTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">下级处理日期：</label>
                <div class="col-sm-8">
                    <input name="resultDate" th:field="*{resultDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">下级处理时间：</label>
                <div class="col-sm-8">
                    <input name="resultTime" th:field="*{resultTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">上级处理结果 ：</label>
                <div class="col-sm-8">
                    <input name="handleRs" th:field="*{handleRs}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单编号：</label>
                <div class="col-sm-8">
                    <input name="orderNum" th:field="*{orderNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单过期日期：</label>
                <div class="col-sm-8">
                    <input name="overdueDate" th:field="*{overdueDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">首付金额：</label>
                <div class="col-sm-8">
                    <input name="payMoney" th:field="*{payMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">财务审核状态 0 拒绝 1 接受 2 财务待确认 3 无需财务确认：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="financeStatus" value="">
                        <label th:for="financeStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">财务审核日期：</label>
                <div class="col-sm-8">
                    <input name="financeDate" th:field="*{financeDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">财务审核时间：</label>
                <div class="col-sm-8">
                    <input name="financeTime" th:field="*{financeTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">终端类型：</label>
                <div class="col-sm-8">
                    <select name="posType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "terminal/pos";
        $("#form-pos-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-pos-edit').serialize());
            }
        }
    </script>
</body>
</html>